// DVideoControl.h: interface for the DVideoControl class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_DVIDEOCONTROL_H__BA7CC29E_4372_4DC9_BD40_DDEEE8EB333A__INCLUDED_)
#define AFX_DVIDEOCONTROL_H__BA7CC29E_4372_4DC9_BD40_DDEEE8EB333A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class DVideoControl  
{
public:
	DVideoControl();
	virtual ~DVideoControl();
    CRect rt;
	int msldw;
	int msldh;
	CStatic * m_vdptr;
	double  m_totalLth;
	CString  m_totalstr;
	double  m_curpos;
	CString  m_curposstr;
	int m_sdrate;
    int m_runstatus;
    int m_sdunit;
//	int m_mpos;
	int m_mmove;
	void eMSLD(CPoint point);
	void eMSLU(CPoint point);
	void eMSMV(CPoint point);
	int getSDPos();
	void serSDCURPos();
	double getVDPos();
	void playSDVideo();
	void eDrawPTROut(int ipos);
	void eDrawPTR(int ipos);
	void eDrwaSLD();
	void eDrwaTIME();
	void addDynamicStatic(CString m_st,int nID,CRect rect,int nStyle);
//	void initCSliderCtrl(CSliderCtrl * t_csc);
	CString getTimestr(int itime);
};

#endif // !defined(AFX_DVIDEOCONTROL_H__BA7CC29E_4372_4DC9_BD40_DDEEE8EB333A__INCLUDED_)
